<?phpclass SettingsEntityBase extends EntityBase{	public $name;	public $value;	public $ownerId;		public function __construct($arrValue = null, $prefix = '')	{		if (!is_null($arrValue) && is_array($arrValue))		{					$this->name = strval($arrValue[$prefix . 'name']);			$this->value = strval($arrValue[$prefix . 'value']);			$this->ownerId = strval($arrValue[$prefix . 'ownerId']);		}	}		/**	 * Get all fields for selecting columns	 *	 * @param string $alias: alias of table	 * @param string $prefix	 * @return string	 */	public static function getSelectColumns($alias, $prefix = '')	{		$arrValue = array(												"{$alias}.name AS `{$prefix}name`",						"{$alias}.value AS `{$prefix}value`",						"{$alias}.ownerId AS `{$prefix}ownerId`",						);		return implode(',', $arrValue);	}}